

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using JYJ.AiYard.StationManagement.TbMicroPayParams;

namespace JYJ.AiYard.EntityMapper.TbMicroPayParamss
{
    public class TbMicroPayParamsCfg : IEntityTypeConfiguration<TbMicroPayParams>
    {
        public void Configure(EntityTypeBuilder<TbMicroPayParams> builder)
        {

            builder.ToTable("Tb_MicroPayParams", YoYoAbpefCoreConsts.SchemaNames.Dbo);

            
			builder.Property(a => a.Station_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.Client_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.MicroPay_SHOPSNAME).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length200);
			builder.Property(a => a.MicroPay_ACCOUNT).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.MicroPay_APPID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.MicroPay_APPSECRET).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.MicroPay_MCHID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.MicroPay_SUB_MCHID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.MicroPay_KEY).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length150);
			builder.Property(a => a.MicroPay_NOTIFY_URL).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.MicroPay_QUERY_URL).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.MicroPay_RETURN_URL).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.MicroPay_CERT).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
			builder.Property(a => a.MicroPay_ClientIP).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MicroPay_Type).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.MicroPay_Stop).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length512);
            builder.Property(a => a.TenantId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreatorUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModifierUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModificationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.IsDeleted).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeleterUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeletionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


        }
    }
}


